x86/link: Relocate program headers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 22 Nov 2017 11:09:41 +0000 (11:09 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:04 +0000 (18:34 +0000)
commit0b280404c84a16621db017380c98669d49f1804f
tree07e537e231579db3f29f7d84b061b9ff060e44f9
parentd31efce487d9357dbf06d8f14f49822c8427f99a
x86/link: Relocate program headers

When the xen binary is loaded by libelf (in the future) we rely on the
elf loader to load the binary accordingly. Specify the load address so
that the resulting binary can make p_vaddr and p_paddr have different
values.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/xen.lds.S